<?php
    $mr 				= new miagerCaptcha; 
    
    $mr->corDeFundo 	= "#ffffff";
    $mr->corRetangulos  = "#FF9900";
    $mr->serverRoot		= '';
    $mr->fonts 			= array('candara.ttf','arial.ttf');
    $mr->path 			= "{$_SERVER['DOCUMENT_ROOT']}/images/fontes/";
    $mr->maxChars 		= 6;
    $mr->larguaImagem 	= 220; 
    $mr->alturaImagem 	= 50;
    $mr->gerarValor		= "1234567890";
    $mr->fontSize 		= 20;
    
    $mr->output(); 
    
    session_register("authkey");
    
    $_SESSION["authkey"]  = $mr->getKey();

    exit;
?> 